package entity.zhujie.lianxi.test.demo02;

public class SumUtil {
    public static int getSum(@Max(1000) int n){
        int s = 0;
        for(int i = 0;i<=n;i++){
            s++;
        }
        return s;
    }
}
